%AVERAGE RANGE OF WEAPONS - GENERATION 1
\begin{figure}[h!t]
\centering
	\begin{tikzpicture}
	\begin{axis}[
	stack plots=y,
	/tikz/ybar,
	ybar stacked,
	width=9cm,
		symbolic x coords={Assault, Bio, Shock, Link, Minigun, Flak, Rocket, Lightning},
		xtick=data,	
	x tick label style={rotate=90,anchor=east},
	legend style={at={(0.5,-0.25)},
	anchor=north,legend columns=-1}
	]

%PRIMARYasd - avg + stdDev
	%PRIMARY - stdDev
	\addplot +[bar shift=-.2cm]
	coordinates {
	(Assault,182.2996733) 
	(Bio,141.0334935)
	(Shock,290.1088261) 
	(Link,111.7004589) 
	(Minigun,0)
	(Flak,108.5405464)
	(Rocket,127.4225928)
	(Lightning,127.4225928)
	};
	\addplot +[bar shift=-.2cm]
	coordinates 
	{
	(Assault,150.3566) 
	(Bio,149.3322167)
	(Shock,107.2360376) 
	(Link,180.5554592) 
	(Minigun,0)
	(Flak,119.3791674)
	(Rocket,174.6587148)
	(Lightning,139.50925)
	};

	%PRIMARY - avg
	\addplot +[bar shift=-.2cm]
	coordinates 
	{
	(Assault,150.3566) 
	(Bio,149.3322167)
	(Shock,107.2360376) 
	(Link,180.5554592) 
	(Minigun,0)
	(Flak,119.3791674)
	(Rocket,174.6587148)
	(Lightning,139.50925)
	};

\resetstackedplots

%SECONDARY - avg-stdDeb
\addplot  +[bar shift=.2cm] coordinates 
{
	(Assault,0) 
	(Bio,0)
	(Shock,73.49034781) 
	(Link,217.3533296) 
	(Minigun,206.8938862)
	(Flak,423.023443)
	(Rocket,0)
	(Lightning,0)
};
%SECONDARY - avg + stdDev
\addplot  +[bar shift=.2cm]coordinates
 {
	(Assault,0) 
	(Bio,0)
	(Shock,60.71861748) 
	(Link,118.3931585) 
	(Minigun,154.5348916)
	(Flak,52.3994101)
	(Rocket,0)
	(Lightning,0)
};
%SECONDARY - Avg
	\addplot +[bar shift=.2cm]
	coordinates 
	{
	(Assault,0) 
	(Bio,0)
	(Shock,60.71861748) 
	(Link,118.3931585) 
	(Minigun,154.5348916)
	(Flak,52.3994101)
	(Rocket,0)
	(Lightning,0)
	};
	\legend{{ },{ },Primary,{ },{ },Secondary}
	\end{axis}
	\end{tikzpicture}
	\caption{\label{graph3}Range at Weapon Selection - Generation 1}
\end{figure}